package net.lgpage.http;

import java.util.List;

public class Page<E> {

	Integer total;
	Object content;
	Pageable pageable;
	class Pageable{
		Integer page;
		Integer size;
		public Integer getPage() {
			return page;
		}
		public void setPage(Integer page) {
			this.page = page;
		}
		public Integer getSize() {
			return size;
		}
		public void setSize(Integer size) {
			this.size = size;
		}
	}
	List<E>list;
	
	public List<E> getList() {
		return list;
	}
	public void setList(List<E> list) {
		this.list = list;
	}
	public Object getContent() {
		return content;
	}
	public void setContent(Object content) {
		this.content = content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getTotal() {
		return total;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public Pageable getPageable() {
		return pageable;
	}
	public void setPageable(Pageable pageable) {
		this.pageable = pageable;
	}
	@Override
	public String toString() {
		return "Page [total=" + total + ", content=" + content + ", pageable="
				+ pageable + "]\n";
	}
	
}
